package com.yygo.service;

import com.yygo.model.LoanProduct;
import com.yygo.model.vo.LoanProductVO;

import java.util.List;
import java.util.Set;

/**
 * Created by tiansha on 2015/6/26.
 */
public interface LoanProductManager extends GenericManager<LoanProduct, Long> {

    LoanProduct loadLoanProduct(Long id);
    List<LoanProduct> getLoanProductsByBond(Long bondId, boolean isSecond);
    LoanProductVO getById (Long id);
    List<LoanProduct> getAll(boolean deleted);
    void saveLoanProduct(LoanProduct loanProduct);
}
